package cn.jiyun.service;

import cn.jiyun.pojo.Major;
import cn.jiyun.res.JsonRes;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface MajorService {
    Page<Major> findPage(Integer pageNum, Integer pageSize, Major major);

    JsonRes addMajor(Major major);

    JsonRes updateMajor(Major major);

    JsonRes delMany(Integer[] ids);
}
